<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkIconView</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 3 参考手册">
<link rel="up" href="TreeWidgetObjects.html" title="树、列表和图标网格构件">
<link rel="prev" href="gtk3-GtkCellView.html" title="GtkCellView">
<link rel="next" href="gtk3-GtkTreeSortable.html" title="GtkTreeSortable">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gtk3-GtkCellView.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="TreeWidgetObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 3 参考手册</th>
<td><a accesskey="n" href="gtk3-GtkTreeSortable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gtk3-GtkIconView.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gtk3-GtkIconView.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gtk3-GtkIconView"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gtk3-GtkIconView.top_of_page"></a>GtkIconView</span></h2>
<p>GtkIconView — A widget which displays a list of icons in a grid</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gtk3-GtkIconView.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView">GtkIconView</a>;
<span class="returnvalue">void</span>                (<a class="link" href="gtk3-GtkIconView.html#GtkIconViewForeachFunc" title="GtkIconViewForeachFunc ()">*GtkIconViewForeachFunc</a>)           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-new" title="gtk_icon_view_new ()">gtk_icon_view_new</a>                   (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-new-with-area" title="gtk_icon_view_new_with_area ()">gtk_icon_view_new_with_area</a>         (<em class="parameter"><code><a class="link" href="gtk3-GtkCellArea.html#GtkCellArea" title="struct GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>);
<a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-new-with-model" title="gtk_icon_view_new_with_model ()">gtk_icon_view_new_with_model</a>        (<em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-model" title="gtk_icon_view_set_model ()">gtk_icon_view_set_model</a>             (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);
<a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-model" title="gtk_icon_view_get_model ()">gtk_icon_view_get_model</a>             (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-text-column" title="gtk_icon_view_set_text_column ()">gtk_icon_view_set_text_column</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-text-column" title="gtk_icon_view_get_text_column ()">gtk_icon_view_get_text_column</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-markup-column" title="gtk_icon_view_set_markup_column ()">gtk_icon_view_set_markup_column</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-markup-column" title="gtk_icon_view_get_markup_column ()">gtk_icon_view_get_markup_column</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-pixbuf-column" title="gtk_icon_view_set_pixbuf_column ()">gtk_icon_view_set_pixbuf_column</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-pixbuf-column" title="gtk_icon_view_get_pixbuf_column ()">gtk_icon_view_get_pixbuf_column</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="returnvalue">GtkTreePath</span></a> *       <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-path-at-pos" title="gtk_icon_view_get_path_at_pos ()">gtk_icon_view_get_path_at_pos</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-item-at-pos" title="gtk_icon_view_get_item_at_pos ()">gtk_icon_view_get_item_at_pos</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> **cell</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-convert-widget-to-bin-window-coords" title="gtk_icon_view_convert_widget_to_bin_window_coords ()">gtk_icon_view_convert_widget_to_bin_window_coords</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> wx</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> wy</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bx</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *by</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-cursor" title="gtk_icon_view_set_cursor ()">gtk_icon_view_set_cursor</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> start_editing</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-cursor" title="gtk_icon_view_get_cursor ()">gtk_icon_view_get_cursor</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> **cell</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-selected-foreach" title="gtk_icon_view_selected_foreach ()">gtk_icon_view_selected_foreach</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconViewForeachFunc" title="GtkIconViewForeachFunc ()"><span class="type">GtkIconViewForeachFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-selection-mode" title="gtk_icon_view_set_selection_mode ()">gtk_icon_view_set_selection_mode</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> mode</code></em>);
<a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>    <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-selection-mode" title="gtk_icon_view_get_selection_mode ()">gtk_icon_view_get_selection_mode</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-item-orientation" title="gtk_icon_view_set_item_orientation ()">gtk_icon_view_set_item_orientation</a>  (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);
<a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-item-orientation" title="gtk_icon_view_get_item_orientation ()">gtk_icon_view_get_item_orientation</a>  (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-columns" title="gtk_icon_view_set_columns ()">gtk_icon_view_set_columns</a>           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> columns</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-columns" title="gtk_icon_view_get_columns ()">gtk_icon_view_get_columns</a>           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-item-width" title="gtk_icon_view_set_item_width ()">gtk_icon_view_set_item_width</a>        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_width</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-item-width" title="gtk_icon_view_get_item_width ()">gtk_icon_view_get_item_width</a>        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-spacing" title="gtk_icon_view_set_spacing ()">gtk_icon_view_set_spacing</a>           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-spacing" title="gtk_icon_view_get_spacing ()">gtk_icon_view_get_spacing</a>           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-row-spacing" title="gtk_icon_view_set_row_spacing ()">gtk_icon_view_set_row_spacing</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_spacing</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-row-spacing" title="gtk_icon_view_get_row_spacing ()">gtk_icon_view_get_row_spacing</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-column-spacing" title="gtk_icon_view_set_column_spacing ()">gtk_icon_view_set_column_spacing</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_spacing</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-column-spacing" title="gtk_icon_view_get_column_spacing ()">gtk_icon_view_get_column_spacing</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-margin" title="gtk_icon_view_set_margin ()">gtk_icon_view_set_margin</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> margin</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-margin" title="gtk_icon_view_get_margin ()">gtk_icon_view_get_margin</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-item-padding" title="gtk_icon_view_set_item_padding ()">gtk_icon_view_set_item_padding</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_padding</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-item-padding" title="gtk_icon_view_get_item_padding ()">gtk_icon_view_get_item_padding</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-select-path" title="gtk_icon_view_select_path ()">gtk_icon_view_select_path</a>           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-unselect-path" title="gtk_icon_view_unselect_path ()">gtk_icon_view_unselect_path</a>         (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-path-is-selected" title="gtk_icon_view_path_is_selected ()">gtk_icon_view_path_is_selected</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-selected-items" title="gtk_icon_view_get_selected_items ()">gtk_icon_view_get_selected_items</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-select-all" title="gtk_icon_view_select_all ()">gtk_icon_view_select_all</a>            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-unselect-all" title="gtk_icon_view_unselect_all ()">gtk_icon_view_unselect_all</a>          (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-item-activated" title="gtk_icon_view_item_activated ()">gtk_icon_view_item_activated</a>        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-scroll-to-path" title="gtk_icon_view_scroll_to_path ()">gtk_icon_view_scroll_to_path</a>        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_align</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> row_align</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> col_align</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-visible-range" title="gtk_icon_view_get_visible_range ()">gtk_icon_view_get_visible_range</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **start_path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **end_path</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-tooltip-item" title="gtk_icon_view_set_tooltip_item ()">gtk_icon_view_set_tooltip_item</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTooltip.html#GtkTooltip" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-tooltip-cell" title="gtk_icon_view_set_tooltip_cell ()">gtk_icon_view_set_tooltip_cell</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTooltip.html#GtkTooltip" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-tooltip-context" title="gtk_icon_view_get_tooltip_context ()">gtk_icon_view_get_tooltip_context</a>   (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keyboard_tip</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> **model</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreeIter" title="struct GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-tooltip-column" title="gtk_icon_view_set_tooltip_column ()">gtk_icon_view_set_tooltip_column</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-tooltip-column" title="gtk_icon_view_get_tooltip_column ()">gtk_icon_view_get_tooltip_column</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-item-row" title="gtk_icon_view_get_item_row ()">gtk_icon_view_get_item_row</a>          (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-item-column" title="gtk_icon_view_get_item_column ()">gtk_icon_view_get_item_column</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);

enum                <a class="link" href="gtk3-GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition">GtkIconViewDropPosition</a>;
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-enable-model-drag-source" title="gtk_icon_view_enable_model_drag_source ()">gtk_icon_view_enable_model_drag_source</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-enable-model-drag-dest" title="gtk_icon_view_enable_model_drag_dest ()">gtk_icon_view_enable_model_drag_dest</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-unset-model-drag-source" title="gtk_icon_view_unset_model_drag_source ()">gtk_icon_view_unset_model_drag_source</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-unset-model-drag-dest" title="gtk_icon_view_unset_model_drag_dest ()">gtk_icon_view_unset_model_drag_dest</a> (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-reorderable" title="gtk_icon_view_set_reorderable ()">gtk_icon_view_set_reorderable</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reorderable</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-reorderable" title="gtk_icon_view_get_reorderable ()">gtk_icon_view_get_reorderable</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-drag-dest-item" title="gtk_icon_view_set_drag_dest_item ()">gtk_icon_view_set_drag_dest_item</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> pos</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-drag-dest-item" title="gtk_icon_view_get_drag_dest_item ()">gtk_icon_view_get_drag_dest_item</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> *pos</code></em>);
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-dest-item-at-pos" title="gtk_icon_view_get_dest_item_at_pos ()">gtk_icon_view_get_dest_item_at_pos</a>  (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> drag_x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> drag_y</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> *pos</code></em>);
<a href="../cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> *   <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-create-drag-icon" title="gtk_icon_view_create_drag_icon ()">gtk_icon_view_create_drag_icon</a>      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gtk3-GtkIconView.description"></a><h2>Description</h2>
<p>
<a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> provides an alternative view on a <a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>.
It displays the model as a grid of icons with labels. Like
<a class="link" href="gtk3-GtkTreeView.html#GtkTreeView" title="struct GtkTreeView"><span class="type">GtkTreeView</span></a>, it allows to select one or multiple items
(depending on the selection mode, see <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-selection-mode" title="gtk_icon_view_set_selection_mode ()"><code class="function">gtk_icon_view_set_selection_mode()</code></a>).
In addition to selection with the arrow keys, <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> supports
rubberband selection, which is controlled by dragging the pointer.
</p>
<p>
Note that if the tree model is backed by an actual tree store (as
opposed to a flat list where the mapping to icons is obvious),
<a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> will only display the first level of the tree and
ignore the tree's branches.
</p>
</div>
<div class="refsect1">
<a name="gtk3-GtkIconView.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkIconView"></a><h3>struct GtkIconView</h3>
<pre class="programlisting">struct GtkIconView {
  GtkContainer parent;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkIconViewForeachFunc"></a><h3>GtkIconViewForeachFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkIconViewForeachFunc)           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>
A function used by <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-selected-foreach" title="gtk_icon_view_selected_foreach ()"><code class="function">gtk_icon_view_selected_foreach()</code></a> to map all
selected rows.  It will be called on every selected row in the view.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>The <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> of a selected row</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>user data</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-new"></a><h3>gtk_icon_view_new ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_icon_view_new                   (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> widget
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly created <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> widget</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-new-with-area"></a><h3>gtk_icon_view_new_with_area ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_icon_view_new_with_area         (<em class="parameter"><code><a class="link" href="gtk3-GtkCellArea.html#GtkCellArea" title="struct GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>);</pre>
<p>
Creates a new <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> widget using the
specified <em class="parameter"><code>area</code></em> to layout cells inside the icons.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td>
<td>the <a class="link" href="gtk3-GtkCellArea.html#GtkCellArea" title="struct GtkCellArea"><span class="type">GtkCellArea</span></a> to use to layout cells</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly created <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> widget</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 3.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-new-with-model"></a><h3>gtk_icon_view_new_with_model ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_icon_view_new_with_model        (<em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre>
<p>
Creates a new <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> widget with the model <em class="parameter"><code>model</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
<td>The model.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly created <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> widget.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-model"></a><h3>gtk_icon_view_set_model ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_model             (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre>
<p>
Sets the model for a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.
If the <em class="parameter"><code>icon_view</code></em> already has a model set, it will remove
it before setting the new model.  If <em class="parameter"><code>model</code></em> is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then
it will unset the old model.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
<td>The model. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-model"></a><h3>gtk_icon_view_get_model ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> *      gtk_icon_view_get_model             (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the model the <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> is based on.  Returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
model is unset.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none is
currently being used. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-text-column"></a><h3>gtk_icon_view_set_text_column ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_text_column       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
<p>
Sets the column with text for <em class="parameter"><code>icon_view</code></em> to be <em class="parameter"><code>column</code></em>. The text
column must be of type <a href="../gobject/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><span class="type">G_TYPE_STRING</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
<td>A column in the currently used model, or -1 to display no text</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-text-column"></a><h3>gtk_icon_view_get_text_column ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_text_column       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the column with text for <em class="parameter"><code>icon_view</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the text column, or -1 if it's unset.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-markup-column"></a><h3>gtk_icon_view_set_markup_column ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_markup_column     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
<p>
Sets the column with markup information for <em class="parameter"><code>icon_view</code></em> to be
<em class="parameter"><code>column</code></em>. The markup column must be of type <a href="../gobject/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><span class="type">G_TYPE_STRING</span></a>.
If the markup column is set to something, it overrides
the text column set by <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-text-column" title="gtk_icon_view_set_text_column ()"><code class="function">gtk_icon_view_set_text_column()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
<td>A column in the currently used model, or -1 to display no text</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-markup-column"></a><h3>gtk_icon_view_get_markup_column ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_markup_column     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the column with markup text for <em class="parameter"><code>icon_view</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the markup column, or -1 if it's unset.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-pixbuf-column"></a><h3>gtk_icon_view_set_pixbuf_column ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_pixbuf_column     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
<p>
Sets the column with pixbufs for <em class="parameter"><code>icon_view</code></em> to be <em class="parameter"><code>column</code></em>. The pixbuf
column must be of type <span class="type">GDK_TYPE_PIXBUF</span>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
<td>A column in the currently used model, or -1 to disable</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-pixbuf-column"></a><h3>gtk_icon_view_get_pixbuf_column ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_pixbuf_column     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the column with pixbufs for <em class="parameter"><code>icon_view</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the pixbuf column, or -1 if it's unset.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-path-at-pos"></a><h3>gtk_icon_view_get_path_at_pos ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="returnvalue">GtkTreePath</span></a> *       gtk_icon_view_get_path_at_pos       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
<p>
Finds the path at the point (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>), relative to bin_window coordinates.
See <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-item-at-pos" title="gtk_icon_view_get_item_at_pos ()"><code class="function">gtk_icon_view_get_item_at_pos()</code></a>, if you are also interested in
the cell at the specified position. 
See <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-convert-widget-to-bin-window-coords" title="gtk_icon_view_convert_widget_to_bin_window_coords ()"><code class="function">gtk_icon_view_convert_widget_to_bin_window_coords()</code></a> for converting
widget coordinates to bin_window coordinates.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>The x position to be identified</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>The y position to be identified</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> corresponding to the icon or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
if no icon exists at that position.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-item-at-pos"></a><h3>gtk_icon_view_get_item_at_pos ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_view_get_item_at_pos       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> **cell</code></em>);</pre>
<p>
Finds the path at the point (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>), relative to bin_window coordinates.
In contrast to <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-path-at-pos" title="gtk_icon_view_get_path_at_pos ()"><code class="function">gtk_icon_view_get_path_at_pos()</code></a>, this function also 
obtains the cell at the specified position. The returned path should
be freed with <a class="link" href="gtk3-GtkTreeModel.html#gtk-tree-path-free" title="gtk_tree_path_free ()"><code class="function">gtk_tree_path_free()</code></a>.
See <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-convert-widget-to-bin-window-coords" title="gtk_icon_view_convert_widget_to_bin_window_coords ()"><code class="function">gtk_icon_view_convert_widget_to_bin_window_coords()</code></a> for converting
widget coordinates to bin_window coordinates.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>The x position to be identified</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>The y position to be identified</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>Return location for the path, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cell</code></em> :</span></p></td>
<td>Return location for the renderer
responsible for the cell at (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>), or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if an item exists at the specified position</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-convert-widget-to-bin-window-coords"></a><h3>gtk_icon_view_convert_widget_to_bin_window_coords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_convert_widget_to_bin_window_coords
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> wx</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> wy</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bx</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *by</code></em>);</pre>
<p>
Converts widget coordinates to coordinates for the bin_window,
as expected by e.g. <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-get-path-at-pos" title="gtk_icon_view_get_path_at_pos ()"><code class="function">gtk_icon_view_get_path_at_pos()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>wx</code></em> :</span></p></td>
<td>X coordinate relative to the widget</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>wy</code></em> :</span></p></td>
<td>Y coordinate relative to the widget</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>bx</code></em> :</span></p></td>
<td>return location for bin_window X coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>by</code></em> :</span></p></td>
<td>return location for bin_window Y coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-cursor"></a><h3>gtk_icon_view_set_cursor ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_cursor            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> start_editing</code></em>);</pre>
<p>
Sets the current keyboard focus to be at <em class="parameter"><code>path</code></em>, and selects it.  This is
useful when you want to focus the user's attention on a particular item.
If <em class="parameter"><code>cell</code></em> is not <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then focus is given to the cell specified by 
it. Additionally, if <em class="parameter"><code>start_editing</code></em> is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then editing should be 
started in the specified cell.  
</p>
<p>
This function is often followed by <code class="literal">gtk_widget_grab_focus 
(icon_view)</code> in order to give keyboard focus to the widget.  
Please note that editing can only happen when the widget is realized.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cell</code></em> :</span></p></td>
<td>One of the cell renderers of <em class="parameter"><code>icon_view</code></em>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start_editing</code></em> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the specified cell should start being edited.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-cursor"></a><h3>gtk_icon_view_get_cursor ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_view_get_cursor            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> **cell</code></em>);</pre>
<p>
Fills in <em class="parameter"><code>path</code></em> and <em class="parameter"><code>cell</code></em> with the current cursor path and cell. 
If the cursor isn't currently set, then *<em class="parameter"><code>path</code></em> will be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.  
If no cell currently has focus, then *<em class="parameter"><code>cell</code></em> will be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<p>
The returned <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> must be freed with <a class="link" href="gtk3-GtkTreeModel.html#gtk-tree-path-free" title="gtk_tree_path_free ()"><code class="function">gtk_tree_path_free()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>Return location for the current cursor path,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cell</code></em> :</span></p></td>
<td>Return location the current focus cell, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the cursor is set.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-selected-foreach"></a><h3>gtk_icon_view_selected_foreach ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_selected_foreach      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconViewForeachFunc" title="GtkIconViewForeachFunc ()"><span class="type">GtkIconViewForeachFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
<p>
Calls a function for each selected icon. Note that the model or
selection cannot be modified from within this function.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>The function to call for each selected icon. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>User data to pass to the function.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-selection-mode"></a><h3>gtk_icon_view_set_selection_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_selection_mode    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> mode</code></em>);</pre>
<p>
Sets the selection mode of the <em class="parameter"><code>icon_view</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>The selection mode</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-selection-mode"></a><h3>gtk_icon_view_get_selection_mode ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>    gtk_icon_view_get_selection_mode    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Gets the selection mode of the <em class="parameter"><code>icon_view</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current selection mode</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-item-orientation"></a><h3>gtk_icon_view_set_item_orientation ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_item_orientation  (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre>
<p>
Sets the ::item-orientation property which determines whether the labels 
are drawn beside the icons instead of below.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
<td>the relative position of texts and icons</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-item-orientation"></a><h3>gtk_icon_view_get_item_orientation ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      gtk_icon_view_get_item_orientation  (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the value of the ::item-orientation property which determines 
whether the labels are drawn beside the icons instead of below.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the relative position of texts and icons</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-columns"></a><h3>gtk_icon_view_set_columns ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_columns           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> columns</code></em>);</pre>
<p>
Sets the ::columns property which determines in how
many columns the icons are arranged. If <em class="parameter"><code>columns</code></em> is
-1, the number of columns will be chosen automatically 
to fill the available area.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>columns</code></em> :</span></p></td>
<td>the number of columns</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-columns"></a><h3>gtk_icon_view_get_columns ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_columns           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the value of the ::columns property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of columns, or -1</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-item-width"></a><h3>gtk_icon_view_set_item_width ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_item_width        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_width</code></em>);</pre>
<p>
Sets the ::item-width property which specifies the width 
to use for each item. If it is set to -1, the icon view will 
automatically determine a suitable item size.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item_width</code></em> :</span></p></td>
<td>the width for each item</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-item-width"></a><h3>gtk_icon_view_get_item_width ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_item_width        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the value of the ::item-width property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the width of a single item, or -1</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-spacing"></a><h3>gtk_icon_view_set_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_spacing           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>);</pre>
<p>
Sets the ::spacing property which specifies the space 
which is inserted between the cells (i.e. the icon and 
the text) of an item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>spacing</code></em> :</span></p></td>
<td>the spacing</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-spacing"></a><h3>gtk_icon_view_get_spacing ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_spacing           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the value of the ::spacing property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the space between cells</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-row-spacing"></a><h3>gtk_icon_view_set_row_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_row_spacing       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_spacing</code></em>);</pre>
<p>
Sets the ::row-spacing property which specifies the space 
which is inserted between the rows of the icon view.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>row_spacing</code></em> :</span></p></td>
<td>the row spacing</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-row-spacing"></a><h3>gtk_icon_view_get_row_spacing ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_row_spacing       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the value of the ::row-spacing property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the space between rows</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-column-spacing"></a><h3>gtk_icon_view_set_column_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_column_spacing    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_spacing</code></em>);</pre>
<p>
Sets the ::column-spacing property which specifies the space 
which is inserted between the columns of the icon view.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>column_spacing</code></em> :</span></p></td>
<td>the column spacing</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-column-spacing"></a><h3>gtk_icon_view_get_column_spacing ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_column_spacing    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the value of the ::column-spacing property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the space between columns</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-margin"></a><h3>gtk_icon_view_set_margin ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_margin            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> margin</code></em>);</pre>
<p>
Sets the ::margin property which specifies the space 
which is inserted at the top, bottom, left and right 
of the icon view.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>margin</code></em> :</span></p></td>
<td>the margin</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-margin"></a><h3>gtk_icon_view_get_margin ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_margin            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the value of the ::margin property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the space at the borders</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-item-padding"></a><h3>gtk_icon_view_set_item_padding ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_item_padding      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_padding</code></em>);</pre>
<p>
Sets the <span class="type">"item-padding"</span> property which specifies the padding
around each of the icon view's items.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item_padding</code></em> :</span></p></td>
<td>the item padding</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-item-padding"></a><h3>gtk_icon_view_get_item_padding ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_item_padding      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the value of the ::item-padding property.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the padding around items</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-select-path"></a><h3>gtk_icon_view_select_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_select_path           (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>
Selects the row at <em class="parameter"><code>path</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>The <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> to be selected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-unselect-path"></a><h3>gtk_icon_view_unselect_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_unselect_path         (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>
Unselects the row at <em class="parameter"><code>path</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>The <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> to be unselected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-path-is-selected"></a><h3>gtk_icon_view_path_is_selected ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_view_path_is_selected      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>
Returns <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the icon pointed to by <em class="parameter"><code>path</code></em> is currently
selected. If <em class="parameter"><code>path</code></em> does not point to a valid location, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> to check selection on.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>path</code></em> is selected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-selected-items"></a><h3>gtk_icon_view_get_selected_items ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             gtk_icon_view_get_selected_items    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Creates a list of paths of all selected items. Additionally, if you are
planning on modifying the model after calling this function, you may
want to convert the returned list into a list of <a class="link" href="gtk3-GtkTreeModel.html#GtkTreeRowReference" title="GtkTreeRowReference"><span class="type">GtkTreeRowReference</span></a>s.
To do this, you can use <a class="link" href="gtk3-GtkTreeModel.html#gtk-tree-row-reference-new" title="gtk_tree_row_reference_new ()"><code class="function">gtk_tree_row_reference_new()</code></a>.
</p>
<p>
To free the return value, use:
</p>
<div class="informalexample"><pre class="programlisting">
g_list_foreach (list, (GFunc)gtk_tree_path_free, NULL);
g_list_free (list);
</pre></div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> containing a <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> for each selected row. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkTreePath][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-select-all"></a><h3>gtk_icon_view_select_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_select_all            (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Selects all the icons. <em class="parameter"><code>icon_view</code></em> must has its selection mode set
to <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-unselect-all"></a><h3>gtk_icon_view_unselect_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_unselect_all          (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Unselects all the icons.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-item-activated"></a><h3>gtk_icon_view_item_activated ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_item_activated        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>
Activates the item determined by <em class="parameter"><code>path</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>The <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> to be activated</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-scroll-to-path"></a><h3>gtk_icon_view_scroll_to_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_scroll_to_path        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_align</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> row_align</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> col_align</code></em>);</pre>
<p>
Moves the alignments of <em class="parameter"><code>icon_view</code></em> to the position specified by <em class="parameter"><code>path</code></em>.  
<em class="parameter"><code>row_align</code></em> determines where the row is placed, and <em class="parameter"><code>col_align</code></em> determines 
where <em class="parameter"><code>column</code></em> is placed.  Both are expected to be between 0.0 and 1.0. 
0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means 
center.
</p>
<p>
If <em class="parameter"><code>use_align</code></em> is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then the alignment arguments are ignored, and the
tree does the minimum amount of work to scroll the item onto the screen.
This means that the item will be scrolled to the edge closest to its current
position.  If the item is currently visible on the screen, nothing is done.
</p>
<p>
This function only works if the model is set, and <em class="parameter"><code>path</code></em> is a valid row on 
the model. If the model changes before the <em class="parameter"><code>icon_view</code></em> is realized, the 
centered path will be modified to reflect this change.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>The path of the item to move to.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>use_align</code></em> :</span></p></td>
<td>whether to use alignment arguments, or <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>row_align</code></em> :</span></p></td>
<td>The vertical alignment of the item specified by <em class="parameter"><code>path</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>col_align</code></em> :</span></p></td>
<td>The horizontal alignment of the item specified by <em class="parameter"><code>path</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-visible-range"></a><h3>gtk_icon_view_get_visible_range ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_view_get_visible_range     (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **start_path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **end_path</code></em>);</pre>
<p>
Sets <em class="parameter"><code>start_path</code></em> and <em class="parameter"><code>end_path</code></em> to be the first and last visible path. 
Note that there may be invisible paths in between.
</p>
<p>
Both paths should be freed with <a class="link" href="gtk3-GtkTreeModel.html#gtk-tree-path-free" title="gtk_tree_path_free ()"><code class="function">gtk_tree_path_free()</code></a> after use.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start_path</code></em> :</span></p></td>
<td>Return location for start of region,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>end_path</code></em> :</span></p></td>
<td>Return location for end of region, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if valid paths were placed in <em class="parameter"><code>start_path</code></em> and <em class="parameter"><code>end_path</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-tooltip-item"></a><h3>gtk_icon_view_set_tooltip_item ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_tooltip_item      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTooltip.html#GtkTooltip" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>
Sets the tip area of <em class="parameter"><code>tooltip</code></em> to be the area covered by the item at <em class="parameter"><code>path</code></em>.
See also <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-tooltip-column" title="gtk_icon_view_set_tooltip_column ()"><code class="function">gtk_icon_view_set_tooltip_column()</code></a> for a simpler alternative.
See also <a class="link" href="gtk3-GtkTooltip.html#gtk-tooltip-set-tip-area" title="gtk_tooltip_set_tip_area ()"><code class="function">gtk_tooltip_set_tip_area()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkTooltip.html#GtkTooltip" title="GtkTooltip"><span class="type">GtkTooltip</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-tooltip-cell"></a><h3>gtk_icon_view_set_tooltip_cell ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_tooltip_cell      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTooltip.html#GtkTooltip" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>);</pre>
<p>
Sets the tip area of <em class="parameter"><code>tooltip</code></em> to the area which <em class="parameter"><code>cell</code></em> occupies in
the item pointed to by <em class="parameter"><code>path</code></em>. See also <a class="link" href="gtk3-GtkTooltip.html#gtk-tooltip-set-tip-area" title="gtk_tooltip_set_tip_area ()"><code class="function">gtk_tooltip_set_tip_area()</code></a>.
</p>
<p>
See also <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-tooltip-column" title="gtk_icon_view_set_tooltip_column ()"><code class="function">gtk_icon_view_set_tooltip_column()</code></a> for a simpler alternative.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkTooltip.html#GtkTooltip" title="GtkTooltip"><span class="type">GtkTooltip</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cell</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkCellRenderer.html#GtkCellRenderer" title="struct GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-tooltip-context"></a><h3>gtk_icon_view_get_tooltip_context ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_view_get_tooltip_context   (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keyboard_tip</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> **model</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreeIter" title="struct GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
<p>
This function is supposed to be used in a <span class="type">"query-tooltip"</span>
signal handler for <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.  The <em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em> and <em class="parameter"><code>keyboard_tip</code></em> values
which are received in the signal handler, should be passed to this
function without modification.
</p>
<p>
The return value indicates whether there is an icon view item at the given
coordinates (<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>) or not (<a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>) for mouse tooltips. For keyboard
tooltips the item returned will be the cursor item. When <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then any of
<em class="parameter"><code>model</code></em>, <em class="parameter"><code>path</code></em> and <em class="parameter"><code>iter</code></em> which have been provided will be set to point to
that row and the corresponding model. <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> will always be converted
to be relative to <em class="parameter"><code>icon_view</code></em>'s bin_window if <em class="parameter"><code>keyboard_tooltip</code></em> is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>an <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>the x coordinate (relative to widget coordinates). <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>the y coordinate (relative to widget coordinates). <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>keyboard_tip</code></em> :</span></p></td>
<td>whether this is a keyboard tooltip or not</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
<td>a pointer to receive a <a class="link" href="gtk3-GtkTreeModel.html#GtkTreeModel" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>a pointer to receive a <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>a pointer to receive a <a class="link" href="gtk3-GtkTreeModel.html#GtkTreeIter" title="struct GtkTreeIter"><span class="type">GtkTreeIter</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>whether or not the given tooltip context points to a item</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-tooltip-column"></a><h3>gtk_icon_view_set_tooltip_column ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_tooltip_column    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre>
<p>
If you only plan to have simple (text-only) tooltips on full items, you
can use this function to have <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> handle these automatically
for you. <em class="parameter"><code>column</code></em> should be set to the column in <em class="parameter"><code>icon_view</code></em>'s model
containing the tooltip texts, or -1 to disable this feature.
</p>
<p>
When enabled, <span class="type">"has-tooltip"</span> will be set to <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and
<em class="parameter"><code>icon_view</code></em> will connect a <span class="type">"query-tooltip"</span> signal handler.
</p>
<p>
Note that the signal handler sets the text with <a class="link" href="gtk3-GtkTooltip.html#gtk-tooltip-set-markup" title="gtk_tooltip_set_markup ()"><code class="function">gtk_tooltip_set_markup()</code></a>,
so &amp;, &lt;, etc have to be escaped in the text.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td>
<td>an integer, which is a valid column number for <em class="parameter"><code>icon_view</code></em>'s model</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-tooltip-column"></a><h3>gtk_icon_view_get_tooltip_column ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_tooltip_column    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Returns the column of <em class="parameter"><code>icon_view</code></em>'s model which is being used for
displaying tooltips on <em class="parameter"><code>icon_view</code></em>'s rows.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the index of the tooltip column that is currently being
used, or -1 if this is disabled.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-item-row"></a><h3>gtk_icon_view_get_item_row ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_item_row          (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>
Gets the row in which the item <em class="parameter"><code>path</code></em> is currently
displayed. Row numbers start at 0.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>the <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> of the item</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The row in which the item is displayed</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.22</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-item-column"></a><h3>gtk_icon_view_get_item_column ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_icon_view_get_item_column       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>
Gets the column in which the item <em class="parameter"><code>path</code></em> is currently
displayed. Column numbers start at 0.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>the <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> of the item</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The column in which the item is displayed</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.22</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkIconViewDropPosition"></a><h3>enum GtkIconViewDropPosition</h3>
<pre class="programlisting">typedef enum {
  GTK_ICON_VIEW_NO_DROP,
  GTK_ICON_VIEW_DROP_INTO,
  GTK_ICON_VIEW_DROP_LEFT,
  GTK_ICON_VIEW_DROP_RIGHT,
  GTK_ICON_VIEW_DROP_ABOVE,
  GTK_ICON_VIEW_DROP_BELOW
} GtkIconViewDropPosition;
</pre>
<p>
An enum for determining where a dropped item goes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-ICON-VIEW-NO-DROP:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_NO_DROP</code></span></p></td>
<td>no drop possible
</td>
</tr>
<tr>
<td><p><a name="GTK-ICON-VIEW-DROP-INTO:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_INTO</code></span></p></td>
<td>dropped item replaces the item
</td>
</tr>
<tr>
<td><p><a name="GTK-ICON-VIEW-DROP-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_LEFT</code></span></p></td>
<td>droppped item is inserted to the left
</td>
</tr>
<tr>
<td><p><a name="GTK-ICON-VIEW-DROP-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_RIGHT</code></span></p></td>
<td>dropped item is inserted to the right
</td>
</tr>
<tr>
<td><p><a name="GTK-ICON-VIEW-DROP-ABOVE:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_ABOVE</code></span></p></td>
<td>dropped item is inserted above
</td>
</tr>
<tr>
<td><p><a name="GTK-ICON-VIEW-DROP-BELOW:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_BELOW</code></span></p></td>
<td>dropped item is inserted below
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-enable-model-drag-source"></a><h3>gtk_icon_view_enable_model_drag_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_enable_model_drag_source
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
<p>
Turns <em class="parameter"><code>icon_view</code></em> into a drag source for automatic DND. Calling this
method sets <span class="type">"reorderable"</span> to <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <span class="type">GtkIconTreeView</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start_button_mask</code></em> :</span></p></td>
<td>Mask of allowed buttons to start drag</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
<td>the table of targets that the drag will
support. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td>
<td>the number of items in <em class="parameter"><code>targets</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>actions</code></em> :</span></p></td>
<td>the bitmask of possible actions for a drag from this
widget</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-enable-model-drag-dest"></a><h3>gtk_icon_view_enable_model_drag_dest ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_enable_model_drag_dest
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>,
                                                         <em class="parameter"><code><a href="../gdk3/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
<p>
Turns <em class="parameter"><code>icon_view</code></em> into a drop destination for automatic DND. Calling this
method sets <span class="type">"reorderable"</span> to <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td>
<td>the table of targets that the drag will
support. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td>
<td>the number of items in <em class="parameter"><code>targets</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>actions</code></em> :</span></p></td>
<td>the bitmask of possible actions for a drag to this
widget</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-unset-model-drag-source"></a><h3>gtk_icon_view_unset_model_drag_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_unset_model_drag_source
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Undoes the effect of <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-enable-model-drag-source" title="gtk_icon_view_enable_model_drag_source ()"><code class="function">gtk_icon_view_enable_model_drag_source()</code></a>. Calling this
method sets <span class="type">"reorderable"</span> to <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-unset-model-drag-dest"></a><h3>gtk_icon_view_unset_model_drag_dest ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_unset_model_drag_dest (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Undoes the effect of <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-enable-model-drag-dest" title="gtk_icon_view_enable_model_drag_dest ()"><code class="function">gtk_icon_view_enable_model_drag_dest()</code></a>. Calling this
method sets <span class="type">"reorderable"</span> to <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-reorderable"></a><h3>gtk_icon_view_set_reorderable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_reorderable       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reorderable</code></em>);</pre>
<p>
This function is a convenience function to allow you to reorder models that
support the <a class="link" href="gtk3-GtkTreeView-drag-and-drop.html#GtkTreeDragSourceIface" title="struct GtkTreeDragSourceIface"><span class="type">GtkTreeDragSourceIface</span></a> and the <a class="link" href="gtk3-GtkTreeView-drag-and-drop.html#GtkTreeDragDestIface" title="struct GtkTreeDragDestIface"><span class="type">GtkTreeDragDestIface</span></a>.  Both
<a class="link" href="gtk3-GtkTreeStore.html#GtkTreeStore" title="struct GtkTreeStore"><span class="type">GtkTreeStore</span></a> and <a class="link" href="gtk3-GtkListStore.html#GtkListStore" title="struct GtkListStore"><span class="type">GtkListStore</span></a> support these.  If <em class="parameter"><code>reorderable</code></em> is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then
the user can reorder the model by dragging and dropping rows.  The
developer can listen to these changes by connecting to the model's
row_inserted and row_deleted signals. The reordering is implemented by setting up
the icon view as a drag source and destination. Therefore, drag and
drop can not be used in a reorderable view for any other purpose.
</p>
<p>
This function does not give you any degree of control over the order -- any
reordering is allowed.  If more control is needed, you should probably
handle drag and drop manually.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>A <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>reorderable</code></em> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the list of items can be reordered.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-reorderable"></a><h3>gtk_icon_view_get_reorderable ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_view_get_reorderable       (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre>
<p>
Retrieves whether the user can reorder the list via drag-and-drop. 
See <a class="link" href="gtk3-GtkIconView.html#gtk-icon-view-set-reorderable" title="gtk_icon_view_set_reorderable ()"><code class="function">gtk_icon_view_set_reorderable()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the list can be reordered.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-set-drag-dest-item"></a><h3>gtk_icon_view_set_drag_dest_item ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_set_drag_dest_item    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> pos</code></em>);</pre>
<p>
Sets the item that is highlighted for feedback.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>The path of the item to highlight, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>Specifies where to drop, relative to the item</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-drag-dest-item"></a><h3>gtk_icon_view_get_drag_dest_item ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_icon_view_get_drag_dest_item    (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> *pos</code></em>);</pre>
<p>
Gets information about the item that is highlighted for feedback.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>Return location for the path of
the highlighted item, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>Return location for the drop position, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-get-dest-item-at-pos"></a><h3>gtk_icon_view_get_dest_item_at_pos ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_icon_view_get_dest_item_at_pos  (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> drag_x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> drag_y</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> *pos</code></em>);</pre>
<p>
Determines the destination item for a given position.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>drag_x</code></em> :</span></p></td>
<td>the position to determine the destination item for</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>drag_y</code></em> :</span></p></td>
<td>the position to determine the destination item for</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>Return location for the path of the item,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td>
<td>Return location for the drop position, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>whether there is an item at the given position.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-icon-view-create-drag-icon"></a><h3>gtk_icon_view_create_drag_icon ()</h3>
<pre class="programlisting"><a href="../cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> *   gtk_icon_view_create_drag_icon      (<em class="parameter"><code><a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>
Creates a <a href="../cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> representation of the item at <em class="parameter"><code>path</code></em>.  
This image is used for a drag icon.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkIconView.html#GtkIconView" title="struct GtkIconView"><span class="type">GtkIconView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkTreeModel.html#GtkTreePath" title="GtkTreePath"><span class="type">GtkTreePath</span></a> in <em class="parameter"><code>icon_view</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly-allocated surface of the drag icon. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.8</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>